package edu.hebeu.entity;

import java.io.Serializable;
import java.util.List;

/**
 * index请求响应需要的Bean
 */
public class IndexResponse implements Serializable {

    private static final long serialVersionUID = -1625743543560168838L;

    private int code;
    private String msg;
    private List<Root_navs> root_navs;
    private List<Index_swiper_all> index_swiper_all;
    public void setCode(int code) {
        this.code = code;
    }
    public int getCode() {
        return code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
    public String getMsg() {
        return msg;
    }

    public void setRoot_navs(List<Root_navs> root_navs) {
        this.root_navs = root_navs;
    }
    public List<Root_navs> getRoot_navs() {
        return root_navs;
    }

    public void setIndex_swiper_all(List<Index_swiper_all> index_swiper_all) {
        this.index_swiper_all = index_swiper_all;
    }
    public List<Index_swiper_all> getIndex_swiper_all() {
        return index_swiper_all;
    }

    public class Root_navs implements Serializable {
        private static final long serialVersionUID = -3677506910473598525L;
        private int id;
        private String name;
        private String describe;
        public void setId(int id) {
            this.id = id;
        }
        public int getId() {
            return id;
        }

        public void setName(String name) {
            this.name = name;
        }
        public String getName() {
            return name;
        }

        public void setDescribe(String describe) {
            this.describe = describe;
        }
        public String getDescribe() {
            return describe;
        }
    }

    public class Index_swiper_all implements Serializable{
        private static final long serialVersionUID = -5751659893154880550L;
        private int id;
        private String url;
        private String user_username;
        public void setId(int id) {
            this.id = id;
        }
        public int getId() {
            return id;
        }

        public void setUrl(String url) {
            this.url = url;
        }
        public String getUrl() {
            return url;
        }

        public void setUser_username(String user_username) {
            this.user_username = user_username;
        }
        public String getUser_username() {
            return user_username;
        }
    }
}
